#!/bin/bash

input_file=$1
output_file=$2

grep -oP '[\w_-]*/[\w_]*' "$input_file" | sort > "$output_file"